#!/bin/bash

source $DRAW_INI
source $DRAW_CFG

perl $MYSQL_DRAW/ReportParser/collectStats.pl --sample_name $1 --readgroup_name $2

if [ $EXITSTATUS != 1 ]
then
 echo "collectStats.pl failed! exitstatus $EXITSTATUS"
 exit 100
fi

exit $EXITSTATUS
